<cfcomponent extends="AbstractKalendarConfig">

	
	<!--- 	Date: 9/30/2007  Usage: I configure the Kalendar Configuration --->
	<cffunction name="Configure" output="false" access="public" returntype="void" hint="I am the configuration component for Kalender. Put config stuff in me.">
		<cfscript>
			//todo: make the current mode setting work for more features
			//This chooses whether to show error or suppress them. Valid choices are: Development, Production
			setCurrentMode('Development');
			//This is the url parameter needed to reload the Kalendar Settings
			setReloadKey( "init" );
			//This is the value of the url parameter needed to reload the Kalendar Settings
			setReloadPassword( "true" );
			//This is the path to the kalendar application. It must end with a slash '/'
			setKalendarURLPath( "/Kalendar/" );
			//This is the path to the common.cfc directory. It must end with a dot '.'
			setCFCPath(  "kalendar.common.cfc." );
			//This is the public http path to the javascript 'scripts' directory. It must end with a slash '/'
			setJavascriptPath( "/kalendar/common/scripts/" );
			//This is the Database Platform used for Kalendar. Possible Values:  MSSQL, MYSQL
			setDBType( "MSSQL" );
			//This is the name of the datasource in the CF Administrator for Kalendar
			setDSN( "Kalendar" );
			//This is the email address to use in RSS Feeds
			setRSSWebmaster( "youremail@yourdomain.com" );
			//This is the email address to use as Editor in RSS Feeds
			setRssEditor( "youremail@yourdomain.com" );
			//This is the current build number of Kalendar
			setKalendarBuildNumber( "1.0" );
			//This controls whether to enable colours for Kalendar Categories
			setUseCategoryColors( true );
			//This is whether or not to use FCKEditor for event entry. FCK Editor is a seperate download. 
			setUseFCKEditor( false );
			//This is the path for FCKEditor directoy. If you are using FCK Editor, you MUST provide this setting. If not, leave it blank
			setFCKEditorRootPath("");
			//This is the path for imported files. This should be somewhere the ColdFusion user has write permission. All files will be deleted after being read. This should end with a slash.
			setTmpImportDirectory(ExpandPath(".") & "/");
			//This is the default Category ID. Set this to the category ID in the database representing your default category choice in Kalendar
			setDefaultCategoryID(1);
			//This is the path to the Administration section of Kalendar
			setKalendarAdminPath( "/Kalendar/" );		
		
		</cfscript>
		
	</cffunction>
	
	<cffunction name="init" output="false" access="public" returntype="KalendarConfig" hint="I perform initialization functions for this component">
		<cfset Super.Init() />
		<cfreturn this />
	</cffunction>
	
</cfcomponent>